package main.resources.controller.command.choice;

import main.resources.controller.command.Command;
import main.resources.controller.dao.moodle.MdlChoiceDao;
import main.resources.exceptions.DaoException;
import main.resources.model.entity.moodle.MdlChoice;

public class ChoiceEditCommand implements Command {

	private MdlChoice choice;
	
	public ChoiceEditCommand(MdlChoice choice) {
		this.choice = choice;
	}

	@Override
	public void execute() throws DaoException {
		MdlChoiceDao.getInstance().edit(choice);
	}

}
